﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link href="/Css/all.css" rel="stylesheet" media="screen" />
    <title>添加文章</title>
    <script type="text/javascript" src="/Scripts/lib/jquery-1.4.4.min.js"></script>
    <!-- ckeditor -->
    <script type="text/javascript" src="/Scripts/Cms/ckeditor/ckeditor.js"></script>
    <!-- swfupload 多图上传-->
    <script type="text/javascript" src="/Scripts/Cms/swfupload/swfupload.js"></script>
    <script type="text/javascript" src="/Scripts/Cms/swfupload/handlers-for-article.js"></script>
    <script type="text/javascript" src="/Scripts/Cms/AddArticle.js"></script>
    <script type="text/javascript">
        window.onload = function () {
            //初始化 SwfUpload
            InitSwfUpload("@Session.SessionID");
        }
    </script>
</head>
<body>
    <form name="form" action="/Cms/AddArticle" method="post">
    <table class="table" width="100%">
        <tr>
            <td height="70" colspan="2">
                Cms&gt;添加文章
            </td>
        </tr>
        <tr>
            <td width="130" align="right">
                文章标题:
            </td>
            <td width="780">
                主 标 题:<input type="text" name="Title" id="Title" maxlength="200" />
                副 标 题:
                <input type="text" name="SecondTitle" id="SecondTitle" maxlength="200" />
                短 标 题:
                <input type="text" name="ThirdTitle" id="ThirdTitle" maxlength="200" />
            </td>
        </tr>
        <tr>
            <td align="right">
                文章类型:
            </td>
            <td>
                @Html.DropDownList("ArticleTypeId", ViewBag.ArticleType as SelectList)
            </td>
        </tr>
        <tr>
            <td align="right">
                文章作者:
            </td>
            <td>
                <input type="text" name="AuthorName" id="AuthorName" maxlength="100" />
            </td>
        </tr>
        <tr>
            <td align="right">
                文章来源:
            </td>
            <td>
                <input type="text" name="SourceName" id="SourceName" />
            </td>
        </tr>
        <tr>
            <td align="right">
                文章焦点图:
            </td>
            <td>
                <span id="UploadButton"><span id="UploadButtonContainer"></span></span><span id="ImageContainer">
                </span>
            </td>
        </tr>
        <tr>
            <td align="right">
                文章摘要:
            </td>
            <td>
                <textarea id="ArticleDescription" name="ArticleDescription" style="width: 99%; height: 100px;">
                </textarea>
            </td>
        </tr>
        <tr>
            <td colspan="2" align="center">
                <input type="submit" name="BtnSave" value="下一步" />
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
